package com.test.javafaq_portal.vo;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author 22044133 左立志
 * @data 2025/4/30 8:48
 */
@Data
@Accessors(chain = true)
public class AnswerVo implements Serializable {
    @NotNull(message = "id不能为空")
    private Integer questionId;

    @NotBlank(message = "内容不能为空")
    private String content;
}
